package no.ntnu.fp.gui.events;

import no.ntnu.fp.model.Appointment;

@SuppressWarnings("serial")
public class DeleteAppointmentEvent extends GuiEvent {
	private final Appointment appointment;
	
	public DeleteAppointmentEvent(Object source, Appointment appointment) {
		super(source);
		this.appointment = appointment;
	}

	public Appointment getAppointment() {
		return appointment;
	}
}
